<template>
	<view>
		<u-popup :closeable="true" :show="show" :round="10" mode="center" @close="close" @open="open">
				<view style="width: 100%; padding: 30rpx;">
					<view class="text-center font-15 font-bold mb-4">{{popupTitle||'二次确认'}}</view>
					<view class="my-4 font-15 font-bold">
						{{content||"请确认信息填报正确？一经保存将生成劳动合同"}}
					</view>
					<view class="bt-gap flex justify-around" style="margin-top: 60rpx;">
						<bg-btn @click="close" style="height:90rpx; color: #86898c;background-color: #fafafa; border: none;">取消</bg-btn>
						<bg-btn @click="confirm" style="height:90rpx">确定</bg-btn>
					</view>
				</view>
			</u-popup>
	</view>
</template>

<script>
	export default {
		name:"bg-confirm",
		props:['show', "content","popupTitle"],
		data() {
			return {
				
			};
		},
		methods:{
			close(){
				console.log("1111")
				this.$emit("close", true)
			},
			confirm(){
				this.$emit("confirm", true)
			},
			open(){
				this.$emit("open", true)
			}
		}
	}
</script>

<style>

</style>